package com.lanhu.designpattern.factory.simplefactory;

/**
 * author:zhangzg
 * date:2020/10/28 21:46
 */
public class Test {
    public static void main(String[] args) {
        String phoneName = PhoneFacotry.getPhone("huawei").getPhoneName();
        System.out.println(phoneName);
    }
}
